[Chapter 4] 4.3 MAILER Declarations
Author: Bryan Costales & Eric Allman
Date: 1999-02-04T00:04:36Z

#

| Chapter 4 Configuring with m4 |

## 4.3 MAILER Declarations

Delivery agents are declared using the MAILER directive:

>     MAILER(agent)

The available agents are listed in the cf/mailer directory (see §19.3.2). For example, consider:

>     MAILER(local)
>     MAILER(smtp)

Here, the first includes support for local delivery, delivery to files, and delivery through programs. The second allows the sendmail daemon to accept incoming mail.

cyrus

  Declares `cyrus` for delivery to the Cyrus IMAP4 server, and `cyrusbb` for delivery to a Cyrus bulletin board.

fax

  Declares `fax` for delivery to a mail-to-fax gateway.

local

  Declares `local` for delivery to a local mailbox and `prog` for delivery through a shell program.

mail11

  Declares `mail11` for delivery to a DECnet/mail11 gateway.

phquery

  Declares `ph`, which uses the phquery program to send to the ph directory service.

pop

  Declares `pop` for delivery through the MH spop program.

procmail

  Declares `procmail` for delivery using the procmail program.

smtp

  Declares `smtp`, which handles SMTP mail; `esmtp`, which always speaks ESMTP instead of adapting on the basis of the greeting message; `smtp8`, which always uses sends-8-bit data directly; and `relay`, which uses SMTP with minimal rewriting and only works within a single domain.

usenet

  Declares `usenet` for delivery to a mail-to-news gateway.

uucp

  Declares `uucp-old`, `uucp-new`, `uucp-uudom`, and `uucp-dom`. Use `uucp-old` if your peers are running very old (V7) versions of UUCP. Use `uucp-new` if they are running a newer version (e.g., honey danber) but don't understand domain-based addressing. Use `uucp-uudom` if your peers use UUCP addresses (e.g., host!user) in the envelope, but domain-based addresses (user@host.domain) in the headers. Use `uucp-dom` if your peers are completely converted to domain-based addressing. The last two are only defined if MAILER(smtp) is declared before MAILER(uucp).

4.2 FEATURE Declarations |  | 4.4 Virtual User Tables